package drds.common.db.xml_mapping.session;

import java.sql.Connection;


public interface SqlSessionFactory {

  MapperContext openSession();

  MapperContext openSession(boolean autoCommit);

  MapperContext openSession(Connection connection);


  MapperContext openSession(ExecutorType executorType);

  MapperContext openSession(ExecutorType executorType, boolean autoCommit);


  MapperContext openSession(ExecutorType executorType, Connection connection);

  Configuration getConfiguration();

}
